package com.xwb.service.impl;

import com.xwb.dao.ScoreDao;
import com.xwb.domain.Score;
import com.xwb.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScoreServiceImpl implements ScoreService{
    @Autowired
    private ScoreDao scoreDao;

    @Override
    public List<Score> getScoreRank() {
        return scoreDao.selectAllByPreliminaryScore();
    }
}
